package com.example.javanewwork.service;

import com.example.javanewwork.entity.Produce;

import java.util.List;

public interface DeviceService {
    int test(int i);

    List<Produce> findAlldevice();

    void deleteById(int id);

    void modifydevice(Produce produce, int id);

    void addNewdevice(Produce produce);

    void deleteByid(int id);

    List<Produce> selectAll();

    List<Produce> serachByType(String type);

    int serachCount(String type, int i);

//    void testdelete(int p);
}
